package com.unipay.hosp.service;

import com.unipay.model.hosp.Schedule;
import com.unipay.vo.hosp.ScheduleOrderVo;
import com.unipay.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Project: yitong_parent
 * @Author: C.yu
 * @Time: 2023-04-07 19:22:32
 * @Desc: TODO
 */
public interface ScheduleService {
    void save(Map<String, Object> paramObjMap);

    Page<Schedule> selectSchedulePage(int page, int limit, ScheduleQueryVo scheduleQueryVo);

    void remove(String hoscode, String hosScheduleId);

    Map<String, Object> getPageSchedule(Long page, Long linit, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getByID(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);
    /**
     * 修改排班
     */
    void update(Schedule schedule);

}
